﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XamlDev.ServiceLocatorPattern.ServiceInterface.Impl
{
    public class LogAdvanced : ILog
    {
        public void Log(string text)
        {
            StreamWriter streamWriter = new StreamWriter("mylog.txt", true);
            using (streamWriter)
                streamWriter.WriteLine("Advanced log: " + text);
        }
    }
}
